package com.ruoyi.sl.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出勤天数对象 sl_attendance
 *
 * @author admin
 * @date 2024-06-18
 */
public class SlAttendance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出勤ID */
    private Long attendanceId;

    /** 上报人 */
    @Excel(name = "上报人")
    private String rworkUser;

    /** 上报人昵称 */
    @Excel(name = "上报人昵称")
    private String rworkNick;

    /** 报工日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报工日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rworkDate;

    /** 出勤人 */
    @Excel(name = "出勤人")
    private String userName;

    /** 出勤人昵称 */
    @Excel(name = "出勤人昵称")
    private String nickName;

    /** 出勤天数 */
    @Excel(name = "出勤天数")
    private BigDecimal attendanceDay;

    /** 年 */
    @Excel(name = "年")
    private String rworkYear;

    /** 月 */
    @Excel(name = "月")
    private String rworkMonth;

    /** 日 */
    @Excel(name = "日")
    private String rworkDay;

    /** 报工单ID */
    @Excel(name = "报工单ID")
    private Long rfworkId;

    /** 职级 */
    @Excel(name = "职级")
    private Long levelId;

    /** 计薪方式 */
    @Excel(name = "计薪方式")
    private Long ssmId;

    /** 正式工Y，非N */
    @Excel(name = "正式工Y，非N")
    private String isFormalworker;

    /** 小时工Y，非N */
    @Excel(name = "小时工Y，非N")
    private String isHourlyworker;

    /** 早1晚2中3 */
    @Excel(name = "早1晚2中3")
    private String userBz;

    /** 早班次数 */
    @Excel(name = "早班次数")
    private Integer countZb;

    /** 晚班次数 */
    @Excel(name = "晚班次数")
    private Integer countWb;

    private BigDecimal scale;

    public BigDecimal getScale() {
        return scale;
    }

    public void setScale(BigDecimal scale) {
        this.scale = scale;
    }

    public void setAttendanceId(Long attendanceId)
    {
        this.attendanceId = attendanceId;
    }

    public Long getAttendanceId()
    {
        return attendanceId;
    }
    public void setRworkUser(String rworkUser)
    {
        this.rworkUser = rworkUser;
    }

    public String getRworkUser()
    {
        return rworkUser;
    }
    public void setRworkNick(String rworkNick)
    {
        this.rworkNick = rworkNick;
    }

    public String getRworkNick()
    {
        return rworkNick;
    }
    public void setRworkDate(Date rworkDate)
    {
        this.rworkDate = rworkDate;
    }

    public Date getRworkDate()
    {
        return rworkDate;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }

    public String getNickName()
    {
        return nickName;
    }
    public void setAttendanceDay(BigDecimal attendanceDay)
    {
        this.attendanceDay = attendanceDay;
    }

    public BigDecimal getAttendanceDay()
    {
        return attendanceDay;
    }
    public void setRworkYear(String rworkYear)
    {
        this.rworkYear = rworkYear;
    }

    public String getRworkYear()
    {
        return rworkYear;
    }
    public void setRworkMonth(String rworkMonth)
    {
        this.rworkMonth = rworkMonth;
    }

    public String getRworkMonth()
    {
        return rworkMonth;
    }
    public void setRworkDay(String rworkDay)
    {
        this.rworkDay = rworkDay;
    }

    public String getRworkDay()
    {
        return rworkDay;
    }
    public void setRfworkId(Long rfworkId)
    {
        this.rfworkId = rfworkId;
    }

    public Long getRfworkId()
    {
        return rfworkId;
    }

    public Long getLevelId() {
        return levelId;
    }

    public void setLevelId(Long levelId) {
        this.levelId = levelId;
    }

    public Long getSsmId() {
        return ssmId;
    }

    public void setSsmId(Long ssmId) {
        this.ssmId = ssmId;
    }

    public String getIsFormalworker() {
        return isFormalworker;
    }

    public void setIsFormalworker(String isFormalworker) {
        this.isFormalworker = isFormalworker;
    }

    public String getIsHourlyworker() {
        return isHourlyworker;
    }

    public void setIsHourlyworker(String isHourlyworker) {
        this.isHourlyworker = isHourlyworker;
    }

    public String getUserBz() {
        return userBz;
    }

    public void setUserBz(String userBz) {
        this.userBz = userBz;
    }

    public Integer getCountZb() {
        return countZb;
    }

    public void setCountZb(Integer countZb) {
        this.countZb = countZb;
    }

    public Integer getCountWb() {
        return countWb;
    }

    public void setCountWb(Integer countWb) {
        this.countWb = countWb;
    }

    @Override
    public String toString() {
        return "SlAttendance{" +
                "attendanceId=" + attendanceId +
                ", rworkUser='" + rworkUser + '\'' +
                ", rworkNick='" + rworkNick + '\'' +
                ", rworkDate=" + rworkDate +
                ", userName='" + userName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", attendanceDay=" + attendanceDay +
                ", rworkYear='" + rworkYear + '\'' +
                ", rworkMonth='" + rworkMonth + '\'' +
                ", rworkDay='" + rworkDay + '\'' +
                ", rfworkId=" + rfworkId +
                ", levelId=" + levelId +
                ", ssmId=" + ssmId +
                ", isFormalworker='" + isFormalworker + '\'' +
                ", isHourlyworker='" + isHourlyworker + '\'' +
                ", userBz='" + userBz + '\'' +
                ", countZb=" + countZb +
                ", countWb=" + countWb +
                '}';
    }
}
